#    FROM nginx
#
#    COPY ./dist /data
#
#    RUN rm /etc/nginx/conf.d/default.conf
#
#    ADD ./docker/base-admin.conf /etc/nginx/conf.d/default.conf
#
#    RUN /bin/bash -c 'echo init ok'
FROM nginx

ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
EXPOSE 80
RUN mkdir /usr/share/nginx/html/cloud
RUN rm /usr/share/nginx/html/index.html
COPY ./cloud/ /usr/share/nginx/html/cloud/
ADD ./docker/base-admin.conf /etc/nginx/conf.d/default.conf
RUN /bin/bash -c 'echo init ok'